ServerSocket.AddSocket Event

The ServerSocket is requesting that you add a socket to its internal pool. It is called when the ServerSocket first begins listening.

Syntax

AddSocket

Initially it will be called MaximumSocketsConnected times to fill its internal pool of sockets. This socket must stay resident (cannot be a local variable) and must be non- Nil. Returns a TCPSocket. Since UDP is a connectionless protocol, it does not make sense for a ServerSocket to deal with UDPSockets.